package com.apexsoft.assets.base.response;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Created by Administrator on 2018/2/23.
 */
@ApiModel(description = "列表响应报文")
public class QueryJSONResponse extends JSONResponse {

    @ApiModelProperty(position = 3, notes = "每页数:在分页查询中有用")
    private long pageSize = -1;
    @ApiModelProperty(position = 4, notes = "当前页:在分页查询中有用")
    private long currentPage = -1;
    @ApiModelProperty(position = 5, notes = "总记录数:在分页查询中有用")
    private long totalRecord = -1;
    @ApiModelProperty(position = 5, notes = "总页数:在分页查询中有用")
    private long totalPage = -1;
    public QueryJSONResponse(int code, String note) {
        super(code, note);
    }

    public QueryJSONResponse() {
        super();
    }

    public long getPageSize() {
        return pageSize;
    }

    public void setPageSize(long pageSize) {
        this.pageSize = pageSize;
    }

    public long getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(long currentPage) {
        this.currentPage = currentPage;
    }

    public long getTotalRecord() {
        return totalRecord;
    }

    public void setTotalRecord(long totalRecord) {
        this.totalRecord = totalRecord;
    }

    public long getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(long totalPage) {
        this.totalPage = totalPage;
    }
}
